<template>
  <div id="nav">
    <router-link to="/home">
      <i class="iconfont icon-shouyetianchong"></i>
      <span>首页</span>
    </router-link>
    <router-link to="/fenlei">
      <i class="iconfont icon-fenlei"></i>
      <span>分类</span>
    </router-link>
    <router-link to="/paihang">
      <i class="iconfont icon-paixingbang"></i>
      <span>爆款排行</span>
    </router-link>
    <router-link to="/wode">
      <i class="iconfont icon-wode-wode"></i>
      <span>我的</span>
    </router-link>
  </div>
</template>

<script>
export default {};
</script>

<style scoped>
#nav {
  width: 100%;
  height: 60rem;
  display: flex;
  border-top: 3rem #f7f7f7 solid;
  justify-content: space-around;
  align-items: center;
}
#nav a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #adc0c7;
  font-size: 12rem;
}
#nav a.router-link-active {
  color: #fe686a;
}
#nav a i {
  margin-bottom: 4rem;
  font-size: 16rem;
}
.container {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: auto;
}
/* iconfont */
</style>
